\hypertarget{classShipCAD_1_1Intersection}{}\section{Ship\+C\+AD\+:\+:Intersection Class Reference}
\label{classShipCAD_1_1Intersection}\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}


List of curves intersecting hull.  




{\ttfamily \#include $<$intersection.\+h$>$}

Inheritance diagram for Ship\+C\+AD\+:\+:Intersection\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3.000000cm]{classShipCAD_1_1Intersection}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classShipCAD_1_1Intersection_acde7d35483e1e4ee56ecf75eb7a70f66}{Intersection} (\hyperlink{classShipCAD_1_1ShipCADModel}{Ship\+C\+A\+D\+Model} $\ast$owner)
\item 
\hyperlink{classShipCAD_1_1Intersection_a3a4f17fe81289d26d2ec329dd9db5c69}{Intersection} (\hyperlink{classShipCAD_1_1ShipCADModel}{Ship\+C\+A\+D\+Model} $\ast$owner, \hyperlink{namespaceShipCAD_aa56834b730aafdf2786ddc9a60a046fd}{intersection\+\_\+type\+\_\+t} ty, const \hyperlink{classShipCAD_1_1Plane}{Plane} \&pln, bool use\+\_\+hydrostatics\+\_\+only)
\item 
virtual \hyperlink{classShipCAD_1_1Intersection_a017d0a1000ca2e9eca3537def58b3988}{$\sim$\+Intersection} ()
\item 
virtual void \hyperlink{classShipCAD_1_1Intersection_a2163245dc7153d1590811ab2902d6ee4}{clear} ()
\item 
virtual void \hyperlink{classShipCAD_1_1Intersection_af751d515708531ca098321840a92c47b}{extents} (Q\+Vector3D \&min, Q\+Vector3D \&max)
\item 
virtual void \hyperlink{classShipCAD_1_1Intersection_a9e346019a52aa0540628b75994ea94a5}{draw} (\hyperlink{classShipCAD_1_1Viewport}{Viewport} \&vp, \hyperlink{classShipCAD_1_1LineShader}{Line\+Shader} $\ast$lineshader)
\item 
virtual void \hyperlink{classShipCAD_1_1Intersection_aed30bdca43037f72b85c4d53e234fd6c}{rebuild} ()
\item 
virtual void \hyperlink{classShipCAD_1_1Intersection_a2b496f9ab21c5fc4a7b97a665b24f2b1}{set\+Build} (bool val)
\item 
virtual Q\+Color \hyperlink{classShipCAD_1_1Intersection_acae07360e9ccef12a498332ac6dbedd9}{get\+Color} ()
\item 
\hyperlink{classShipCAD_1_1Plane}{Plane} \hyperlink{classShipCAD_1_1Intersection_ac0b838a811f8df5c2fa0b0ea44ba4bb7}{get\+Plane} ()
\begin{DoxyCompactList}\small\item\em get the intersection plane \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1Intersection_a72f2a58ec72cd3a38cf0d59a84650fb5}{set\+Plane} (const \hyperlink{classShipCAD_1_1Plane}{Plane} \&pln)
\begin{DoxyCompactList}\small\item\em set the intersection plane \end{DoxyCompactList}\item 
bool \hyperlink{classShipCAD_1_1Intersection_a03df44a32b35481bf362af342f8b1aef}{is\+Show\+Curvature} () const 
\begin{DoxyCompactList}\small\item\em show intersection curvature \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1Intersection_a492009095b78e7ce52c62e17eab38469}{set\+Show\+Curvature} (bool set)
\begin{DoxyCompactList}\small\item\em set show intersection curvature \end{DoxyCompactList}\item 
Q\+String \hyperlink{classShipCAD_1_1Intersection_ab0434113cfd34c8a3ab11f75976dbf5b}{get\+Description} ()
\item 
\hyperlink{namespaceShipCAD_aa56834b730aafdf2786ddc9a60a046fd}{intersection\+\_\+type\+\_\+t} \hyperlink{classShipCAD_1_1Intersection_a1b93db56e5877226b30871754bba9838}{get\+Intersection\+Type} ()
\item 
void \hyperlink{classShipCAD_1_1Intersection_af7b14b73d2fa77157fe7a46fce5490dd}{set\+Intersection\+Type} (\hyperlink{namespaceShipCAD_aa56834b730aafdf2786ddc9a60a046fd}{intersection\+\_\+type\+\_\+t} set)
\item 
bool \hyperlink{classShipCAD_1_1Intersection_a5ac5f3018d8b95b57ab40ccafe782bf4}{use\+Hydrostatics\+Surfaces\+Only} ()
\item 
void \hyperlink{classShipCAD_1_1Intersection_a7dccd8a9562004bb88edd94588395600}{set\+Use\+Hydrostatics\+Surfaces\+Only} (bool set)
\item 
\hyperlink{namespaceShipCAD_a053b941b2c87049bb9380428d4d5a056}{Spline\+Vector} \& \hyperlink{classShipCAD_1_1Intersection_a0092acbb149bb6a5c2e1f9a4b300c2da}{get\+Splines} ()
\item 
void \hyperlink{classShipCAD_1_1Intersection_a9e5c13aed9e318f7a5edf02214cfc6f9}{calculate\+Area} (const \hyperlink{classShipCAD_1_1Plane}{Plane} \&wlplane, float $\ast$area, Q\+Vector3D $\ast$cog, Q\+Vector2D $\ast$moment\+\_\+of\+\_\+inertia)
\begin{DoxyCompactList}\small\item\em calculate area, center of gravity, moment of inertia of intersection \end{DoxyCompactList}\item 
void \hyperlink{classShipCAD_1_1Intersection_a0af2af543403b3c69d1d3c786a1c6575}{create\+Starboard\+Part} ()
\item 
void \hyperlink{classShipCAD_1_1Intersection_ada420a69dc8141794aa617f966cbe2b2}{delete\+Item} (\hyperlink{classShipCAD_1_1Spline}{Spline} $\ast$item)
\item 
void \hyperlink{classShipCAD_1_1Intersection_a3e87aa28a1e1d721fe657a73d5466f3b}{load\+Binary} (\hyperlink{classShipCAD_1_1FileBuffer}{File\+Buffer} \&source)
\item 
void \hyperlink{classShipCAD_1_1Intersection_a41ce3a17845a7808d052713ae57dbe63}{save\+Binary} (\hyperlink{classShipCAD_1_1FileBuffer}{File\+Buffer} \&dest)
\item 
void \hyperlink{classShipCAD_1_1Intersection_a00a6d7ad7e82e43bd0287fa88dd87cf3}{save\+To\+D\+XF} (Q\+String\+List \&strings)
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
List of curves intersecting hull. 

A list of curves from the intersection of the ships hull (represented by a subdivision surface) and a plane This plane can be a orthogonal plane (eg stations, waterlines, buttocks) or a freely oriented 3D plane 

Definition at line 58 of file intersection.\+h.



\subsection{Constructor \& Destructor Documentation}
\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!Intersection@{Intersection}}
\index{Intersection@{Intersection}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{Intersection(\+Ship\+C\+A\+D\+Model $\ast$owner)}{Intersection(ShipCADModel *owner)}}]{\setlength{\rightskip}{0pt plus 5cm}Intersection\+::\+Intersection (
\begin{DoxyParamCaption}
\item[{{\bf Ship\+C\+A\+D\+Model} $\ast$}]{owner}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [explicit]}}\hypertarget{classShipCAD_1_1Intersection_acde7d35483e1e4ee56ecf75eb7a70f66}{}\label{classShipCAD_1_1Intersection_acde7d35483e1e4ee56ecf75eb7a70f66}


Definition at line 50 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!Intersection@{Intersection}}
\index{Intersection@{Intersection}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{Intersection(\+Ship\+C\+A\+D\+Model $\ast$owner, intersection\+\_\+type\+\_\+t ty, const Plane \&pln, bool use\+\_\+hydrostatics\+\_\+only)}{Intersection(ShipCADModel *owner, intersection_type_t ty, const Plane &pln, bool use_hydrostatics_only)}}]{\setlength{\rightskip}{0pt plus 5cm}Intersection\+::\+Intersection (
\begin{DoxyParamCaption}
\item[{{\bf Ship\+C\+A\+D\+Model} $\ast$}]{owner, }
\item[{{\bf intersection\+\_\+type\+\_\+t}}]{ty, }
\item[{const {\bf Plane} \&}]{pln, }
\item[{bool}]{use\+\_\+hydrostatics\+\_\+only}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [explicit]}}\hypertarget{classShipCAD_1_1Intersection_a3a4f17fe81289d26d2ec329dd9db5c69}{}\label{classShipCAD_1_1Intersection_a3a4f17fe81289d26d2ec329dd9db5c69}


Definition at line 57 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!````~Intersection@{$\sim$\+Intersection}}
\index{````~Intersection@{$\sim$\+Intersection}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{$\sim$\+Intersection()}{~Intersection()}}]{\setlength{\rightskip}{0pt plus 5cm}virtual Ship\+C\+A\+D\+::\+Intersection\+::$\sim$\+Intersection (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{classShipCAD_1_1Intersection_a017d0a1000ca2e9eca3537def58b3988}{}\label{classShipCAD_1_1Intersection_a017d0a1000ca2e9eca3537def58b3988}


Definition at line 67 of file intersection.\+h.



\subsection{Member Function Documentation}
\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!calculate\+Area@{calculate\+Area}}
\index{calculate\+Area@{calculate\+Area}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{calculate\+Area(const Plane \&wlplane, float $\ast$area, Q\+Vector3\+D $\ast$cog, Q\+Vector2\+D $\ast$moment\+\_\+of\+\_\+inertia)}{calculateArea(const Plane &wlplane, float *area, QVector3D *cog, QVector2D *moment_of_inertia)}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::calculate\+Area (
\begin{DoxyParamCaption}
\item[{const {\bf Plane} \&}]{wlplane, }
\item[{float $\ast$}]{area, }
\item[{Q\+Vector3D $\ast$}]{cog, }
\item[{Q\+Vector2D $\ast$}]{moment\+\_\+of\+\_\+inertia}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1Intersection_a9e5c13aed9e318f7a5edf02214cfc6f9}{}\label{classShipCAD_1_1Intersection_a9e5c13aed9e318f7a5edf02214cfc6f9}


calculate area, center of gravity, moment of inertia of intersection 


\begin{DoxyParams}{Parameters}
{\em wlplane} & the waterline plane to use for hydrostatic area \\
\hline
{\em area} & calculated area \\
\hline
{\em cog} & calculated center of gravity \\
\hline
{\em moment\+\_\+of\+\_\+inertia} & calculated moment of inertia \\
\hline
\end{DoxyParams}


Definition at line 357 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!clear@{clear}}
\index{clear@{clear}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{clear()}{clear()}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::clear (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classShipCAD_1_1Intersection_a2163245dc7153d1590811ab2902d6ee4}{}\label{classShipCAD_1_1Intersection_a2163245dc7153d1590811ab2902d6ee4}


Reimplemented from \hyperlink{classShipCAD_1_1Entity_a998d0e5d360371046fd5835ba1e0877a}{Ship\+C\+A\+D\+::\+Entity}.



Definition at line 64 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!create\+Starboard\+Part@{create\+Starboard\+Part}}
\index{create\+Starboard\+Part@{create\+Starboard\+Part}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{create\+Starboard\+Part()}{createStarboardPart()}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::create\+Starboard\+Part (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1Intersection_a0af2af543403b3c69d1d3c786a1c6575}{}\label{classShipCAD_1_1Intersection_a0af2af543403b3c69d1d3c786a1c6575}


Definition at line 395 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!delete\+Item@{delete\+Item}}
\index{delete\+Item@{delete\+Item}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{delete\+Item(\+Spline $\ast$item)}{deleteItem(Spline *item)}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::delete\+Item (
\begin{DoxyParamCaption}
\item[{{\bf Spline} $\ast$}]{item}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1Intersection_ada420a69dc8141794aa617f966cbe2b2}{}\label{classShipCAD_1_1Intersection_ada420a69dc8141794aa617f966cbe2b2}


Definition at line 448 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!draw@{draw}}
\index{draw@{draw}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{draw(\+Viewport \&vp, Line\+Shader $\ast$lineshader)}{draw(Viewport &vp, LineShader *lineshader)}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::draw (
\begin{DoxyParamCaption}
\item[{{\bf Viewport} \&}]{vp, }
\item[{{\bf Line\+Shader} $\ast$}]{lineshader}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classShipCAD_1_1Intersection_a9e346019a52aa0540628b75994ea94a5}{}\label{classShipCAD_1_1Intersection_a9e346019a52aa0540628b75994ea94a5}


Implements \hyperlink{classShipCAD_1_1Entity_aa62e306d991140dcd564360f8f6e7539}{Ship\+C\+A\+D\+::\+Entity}.



Definition at line 172 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!extents@{extents}}
\index{extents@{extents}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{extents(\+Q\+Vector3\+D \&min, Q\+Vector3\+D \&max)}{extents(QVector3D &min, QVector3D &max)}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::extents (
\begin{DoxyParamCaption}
\item[{Q\+Vector3D \&}]{min, }
\item[{Q\+Vector3D \&}]{max}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classShipCAD_1_1Intersection_af751d515708531ca098321840a92c47b}{}\label{classShipCAD_1_1Intersection_af751d515708531ca098321840a92c47b}


Reimplemented from \hyperlink{classShipCAD_1_1Entity_a08e8e53770c85002afa45f46e7bf10f8}{Ship\+C\+A\+D\+::\+Entity}.



Definition at line 137 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!get\+Color@{get\+Color}}
\index{get\+Color@{get\+Color}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{get\+Color()}{getColor()}}]{\setlength{\rightskip}{0pt plus 5cm}Q\+Color Intersection\+::get\+Color (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classShipCAD_1_1Intersection_acae07360e9ccef12a498332ac6dbedd9}{}\label{classShipCAD_1_1Intersection_acae07360e9ccef12a498332ac6dbedd9}


Definition at line 82 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!get\+Description@{get\+Description}}
\index{get\+Description@{get\+Description}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{get\+Description()}{getDescription()}}]{\setlength{\rightskip}{0pt plus 5cm}Q\+String Intersection\+::get\+Description (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1Intersection_ab0434113cfd34c8a3ab11f75976dbf5b}{}\label{classShipCAD_1_1Intersection_ab0434113cfd34c8a3ab11f75976dbf5b}


Definition at line 145 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!get\+Intersection\+Type@{get\+Intersection\+Type}}
\index{get\+Intersection\+Type@{get\+Intersection\+Type}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{get\+Intersection\+Type()}{getIntersectionType()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf intersection\+\_\+type\+\_\+t} Ship\+C\+A\+D\+::\+Intersection\+::get\+Intersection\+Type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1Intersection_a1b93db56e5877226b30871754bba9838}{}\label{classShipCAD_1_1Intersection_a1b93db56e5877226b30871754bba9838}


Definition at line 106 of file intersection.\+h.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!get\+Plane@{get\+Plane}}
\index{get\+Plane@{get\+Plane}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{get\+Plane()}{getPlane()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Plane} Ship\+C\+A\+D\+::\+Intersection\+::get\+Plane (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1Intersection_ac0b838a811f8df5c2fa0b0ea44ba4bb7}{}\label{classShipCAD_1_1Intersection_ac0b838a811f8df5c2fa0b0ea44ba4bb7}


get the intersection plane 

\begin{DoxyReturn}{Returns}
the intersection plane 
\end{DoxyReturn}


Definition at line 84 of file intersection.\+h.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!get\+Splines@{get\+Splines}}
\index{get\+Splines@{get\+Splines}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{get\+Splines()}{getSplines()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Spline\+Vector}\& Ship\+C\+A\+D\+::\+Intersection\+::get\+Splines (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1Intersection_a0092acbb149bb6a5c2e1f9a4b300c2da}{}\label{classShipCAD_1_1Intersection_a0092acbb149bb6a5c2e1f9a4b300c2da}


Definition at line 113 of file intersection.\+h.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!is\+Show\+Curvature@{is\+Show\+Curvature}}
\index{is\+Show\+Curvature@{is\+Show\+Curvature}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{is\+Show\+Curvature() const }{isShowCurvature() const }}]{\setlength{\rightskip}{0pt plus 5cm}bool Ship\+C\+A\+D\+::\+Intersection\+::is\+Show\+Curvature (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1Intersection_a03df44a32b35481bf362af342f8b1aef}{}\label{classShipCAD_1_1Intersection_a03df44a32b35481bf362af342f8b1aef}


show intersection curvature 

\begin{DoxyReturn}{Returns}
true if intersection curvature shown 
\end{DoxyReturn}


Definition at line 96 of file intersection.\+h.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!load\+Binary@{load\+Binary}}
\index{load\+Binary@{load\+Binary}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{load\+Binary(\+File\+Buffer \&source)}{loadBinary(FileBuffer &source)}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::load\+Binary (
\begin{DoxyParamCaption}
\item[{{\bf File\+Buffer} \&}]{source}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1Intersection_a3e87aa28a1e1d721fe657a73d5466f3b}{}\label{classShipCAD_1_1Intersection_a3e87aa28a1e1d721fe657a73d5466f3b}


Definition at line 453 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!rebuild@{rebuild}}
\index{rebuild@{rebuild}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{rebuild()}{rebuild()}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::rebuild (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classShipCAD_1_1Intersection_aed30bdca43037f72b85c4d53e234fd6c}{}\label{classShipCAD_1_1Intersection_aed30bdca43037f72b85c4d53e234fd6c}


Implements \hyperlink{classShipCAD_1_1Entity_a2571654319df6ad6841a437be7a75395}{Ship\+C\+A\+D\+::\+Entity}.



Definition at line 218 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!save\+Binary@{save\+Binary}}
\index{save\+Binary@{save\+Binary}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{save\+Binary(\+File\+Buffer \&dest)}{saveBinary(FileBuffer &dest)}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::save\+Binary (
\begin{DoxyParamCaption}
\item[{{\bf File\+Buffer} \&}]{dest}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1Intersection_a41ce3a17845a7808d052713ae57dbe63}{}\label{classShipCAD_1_1Intersection_a41ce3a17845a7808d052713ae57dbe63}


Definition at line 507 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!save\+To\+D\+XF@{save\+To\+D\+XF}}
\index{save\+To\+D\+XF@{save\+To\+D\+XF}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{save\+To\+D\+X\+F(\+Q\+String\+List \&strings)}{saveToDXF(QStringList &strings)}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::save\+To\+D\+XF (
\begin{DoxyParamCaption}
\item[{Q\+String\+List \&}]{strings}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1Intersection_a00a6d7ad7e82e43bd0287fa88dd87cf3}{}\label{classShipCAD_1_1Intersection_a00a6d7ad7e82e43bd0287fa88dd87cf3}


Definition at line 552 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!set\+Build@{set\+Build}}
\index{set\+Build@{set\+Build}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{set\+Build(bool val)}{setBuild(bool val)}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::set\+Build (
\begin{DoxyParamCaption}
\item[{bool}]{val}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}\hypertarget{classShipCAD_1_1Intersection_a2b496f9ab21c5fc4a7b97a665b24f2b1}{}\label{classShipCAD_1_1Intersection_a2b496f9ab21c5fc4a7b97a665b24f2b1}


Reimplemented from \hyperlink{classShipCAD_1_1Entity_a1889198398f42bb7f77a2334031c3f33}{Ship\+C\+A\+D\+::\+Entity}.



Definition at line 73 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!set\+Intersection\+Type@{set\+Intersection\+Type}}
\index{set\+Intersection\+Type@{set\+Intersection\+Type}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{set\+Intersection\+Type(intersection\+\_\+type\+\_\+t set)}{setIntersectionType(intersection_type_t set)}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::set\+Intersection\+Type (
\begin{DoxyParamCaption}
\item[{{\bf intersection\+\_\+type\+\_\+t}}]{set}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1Intersection_af7b14b73d2fa77157fe7a46fce5490dd}{}\label{classShipCAD_1_1Intersection_af7b14b73d2fa77157fe7a46fce5490dd}


Definition at line 114 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!set\+Plane@{set\+Plane}}
\index{set\+Plane@{set\+Plane}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{set\+Plane(const Plane \&pln)}{setPlane(const Plane &pln)}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::set\+Plane (
\begin{DoxyParamCaption}
\item[{const {\bf Plane} \&}]{pln}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1Intersection_a72f2a58ec72cd3a38cf0d59a84650fb5}{}\label{classShipCAD_1_1Intersection_a72f2a58ec72cd3a38cf0d59a84650fb5}


set the intersection plane 


\begin{DoxyParams}{Parameters}
{\em pln} & the new intersection plane \\
\hline
\end{DoxyParams}


Definition at line 108 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!set\+Show\+Curvature@{set\+Show\+Curvature}}
\index{set\+Show\+Curvature@{set\+Show\+Curvature}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{set\+Show\+Curvature(bool set)}{setShowCurvature(bool set)}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::set\+Show\+Curvature (
\begin{DoxyParamCaption}
\item[{bool}]{set}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1Intersection_a492009095b78e7ce52c62e17eab38469}{}\label{classShipCAD_1_1Intersection_a492009095b78e7ce52c62e17eab38469}


set show intersection curvature 


\begin{DoxyParams}{Parameters}
{\em set} & whether to show or not \\
\hline
\end{DoxyParams}


Definition at line 98 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!set\+Use\+Hydrostatics\+Surfaces\+Only@{set\+Use\+Hydrostatics\+Surfaces\+Only}}
\index{set\+Use\+Hydrostatics\+Surfaces\+Only@{set\+Use\+Hydrostatics\+Surfaces\+Only}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{set\+Use\+Hydrostatics\+Surfaces\+Only(bool set)}{setUseHydrostaticsSurfacesOnly(bool set)}}]{\setlength{\rightskip}{0pt plus 5cm}void Intersection\+::set\+Use\+Hydrostatics\+Surfaces\+Only (
\begin{DoxyParamCaption}
\item[{bool}]{set}
\end{DoxyParamCaption}
)}\hypertarget{classShipCAD_1_1Intersection_a7dccd8a9562004bb88edd94588395600}{}\label{classShipCAD_1_1Intersection_a7dccd8a9562004bb88edd94588395600}


Definition at line 120 of file intersection.\+cpp.

\index{Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}!use\+Hydrostatics\+Surfaces\+Only@{use\+Hydrostatics\+Surfaces\+Only}}
\index{use\+Hydrostatics\+Surfaces\+Only@{use\+Hydrostatics\+Surfaces\+Only}!Ship\+C\+A\+D\+::\+Intersection@{Ship\+C\+A\+D\+::\+Intersection}}
\subsubsection[{\texorpdfstring{use\+Hydrostatics\+Surfaces\+Only()}{useHydrostaticsSurfacesOnly()}}]{\setlength{\rightskip}{0pt plus 5cm}bool Ship\+C\+A\+D\+::\+Intersection\+::use\+Hydrostatics\+Surfaces\+Only (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{classShipCAD_1_1Intersection_a5ac5f3018d8b95b57ab40ccafe782bf4}{}\label{classShipCAD_1_1Intersection_a5ac5f3018d8b95b57ab40ccafe782bf4}


Definition at line 109 of file intersection.\+h.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
Ship\+C\+A\+Dlib/\hyperlink{intersection_8h}{intersection.\+h}\item 
Ship\+C\+A\+Dlib/\hyperlink{intersection_8cpp}{intersection.\+cpp}\end{DoxyCompactItemize}
